<?php
namespace app\controller;

use app\BaseController;
use app\model\UserModel;
use think\Request;
use app\model\UserExpendOne;

class UserExpend extends BaseController
{
    public function getExpendList(Request $request)
    {

    }

    public function getExpendById(Request $request)
    {
        $id = $request->param('id');
        $usermodel = new UserExpendOne();
        $k = $usermodel->getUserById($id);
        var_dump($k);exit();
        return $k;
    }


    public function deleteUserTwo($id)
    {
//        $id = $request->param('id');
        $usermodel = new UserExpendOne();
        $k = $usermodel->delUserById($id);
        var_dump($k);exit();
    }
}
